package cn.huobi.user.service.impl;

import cn.huobi.basic.service.impl.BaseServiceImpl;
import cn.huobi.user.domain.User;
import cn.huobi.user.mapper.UserMapper;
import cn.huobi.user.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author huobi
 * @since 2022-10-19
 */
@Service
public class UserServiceImpl extends BaseServiceImpl<User> implements UserService {

    @Autowired
    private UserMapper userMapper;
    @Override
    public User findByLoginId(Long id) {
        return userMapper.findByLoginId(id);
    }
}
